#ifndef OBJECTLIST_H_
#define OBJECTLIST_H_
#include "List.h"
#include "Object.h"
#include "MenuManager.h"

class ObjectList
{
	public:
	MenuManager * menuManager;
	List<Object> * head;
	List<Object> * tail;
	
	public:
	ObjectList();
	ObjectList(Object * headObject);
	ObjectList(MenuManager * menuManager);
	ObjectList(MenuManager * menuManager, Object * headObject);
	~ObjectList();
	List<Object> * Add(Object * payload);
	void Remove(Object * point);
	void RemoveList(Object * point);
	void HoverCheck(Mouse * mouse);
	Object * GetHoverObject(Mouse * mouse);
	void Draw();
	void ClearList();
	char * GetTags();
	int GetLength();
};
#endif /*OBJECTLIST_H_*/
